package view 
{
	import flash.display.MovieClip;
	/**
	 * ...
	 * @author bimkute
	 */
	public class PreLoader extends Base 
	{
		private var seek:MovieClip;
		private var locX:int;
		private var myPercent:int;
		public function PreLoader() 
		{
			addContent("Preloader", "loading");
			seek = content.scrollbar;
			content.scrollbar.mask = content._mask;
			//content.mask = seek;
			locX = seek.x;
		}
		
		public function changeSeek(percent:int):void 
		{
			
			if (myPercent < percent) 
			{
				myPercent = percent;
				seek.x = 414 + 259 * percent / 100;
				trace(seek.x, "seek.x")
				trace("prel:==================================")
			}
			
		}
	}

}